| Previous | Chapter contents | Chapter top | Section top | Next |
You can define a routine to respond to a node's being entered.
pascal OSErr MyEnteringNodeProc (
QTVRInstance qtvr,
UInt32 nodeID,
SInt32 refCon);
Your MyEnteringNodeProc procedure is called whenever a node is entered, either in response to user actions or in response to QuickTime VR Manager functions that change nodes (such as QTVRGoToNodeID ). Your procedure can do any processing it deems necessary.
Use QTVRSetEnteringNodeProc (link) to install a node-entering procedure. See Listing 2-9 for a sample node-entering procedure.
| Previous | Chapter contents | Chapter top | Section top | Next |